load("@rules_rust//rust:defs.bzl", "rust_library")

package(default_visibility = [
    "//rs/crypto:__subpackages__",
    "//rs/validator/http_request_test_utils:__pkg__",
])

DEPENDENCIES = [
    # Keep sorted.
    "//rs/certification/test-utils",
    "//rs/crypto/sha2",
    "//rs/crypto/tree_hash",
    "//rs/types/types",
    "@crate_index//:rand",
]

rust_library(
    name = "test_utils",
    testonly = True,
    srcs = glob(["src/**"]),
    crate_name = "ic_crypto_internal_basic_sig_iccsa_test_utils",
    version = "0.1.0",
    deps = DEPENDENCIES,
)
